package com.gin.kotlin.no_gay_alliance.adapter.me

import android.content.Context
import com.gin.kotlin.no_gay_alliance.base.AbstractBindingRecyclerViewAdapter
import com.gin.kotlin.no_gay_alliance.base.MyHandler
import com.gin.kotlin.no_gay_alliance.databinding.ItemCheckInStatusBinding
import java.io.Serializable

class CheckInStatusAdapter(context: Context, handler: MyHandler) : AbstractBindingRecyclerViewAdapter<ItemCheckInStatusBinding, Pair<String, Serializable?>>(context, handler,false) {
    override fun onBindViewHolder(holder: ViewHolder<ItemCheckInStatusBinding>, position: Int, b: ItemCheckInStatusBinding, dataModel: Pair<String, Serializable?>) {
        b.tvLabel.text = dataModel.first
        b.tvValue.text = dataModel.second.toString()
    }
}